import './assets/main.css'

import { createApp } from 'vue'
import App from './App.vue'
import router from './router'

// vant的样式
import 'vant/lib/index.css';
// 导入+注册vant的组件
import { NavBar, Image as VanImage, Loading, Col, Row, Tag, Icon, Tab, Tabs, Sticky } from 'vant'

const app = createApp(App)

app.use(VanImage)
app.use(NavBar)
app.use(Loading)
app.use(Col)
app.use(Row)
app.use(Tag)
app.use(Icon)
app.use(Tab)
app.use(Tabs)
app.use(Sticky)

app.use(router)

app.mount('#app')
